package com.ruoyi.project.naming.namingop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 起名上报对象 naming_op
 *
 * @author shixiangwen
 * @date 2022-04-21
 */
public class NamingOp extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long kkid;

    /**
     * 行为
     */
    @Excel(name = "行为")
    private String op;

    /**
     * ip
     */
    @Excel(name = "ip")
    private String ip;

    /**
     * 上报参数
     */
    @Excel(name = "上报参数")
    private String param;

    /**
     * 时间
     */
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * ua
     */
    @Excel(name = "ua")
    private String ua;

    /**
     * 前端版本
     */
    @Excel(name = "前端版本")
    private String staticVersion;

    private String clientVersion;

    private String ipInfo;

    /**
     * 是否会员
     */
    @Excel(name = "是否会员")
    private Integer isVip;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setKkid(Long kkid) {
        this.kkid = kkid;
    }

    public Long getKkid() {
        return kkid;
    }

    public void setOp(String op) {
        this.op = op;
    }

    public String getOp() {
        return op;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getIp() {
        return ip;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public String getParam() {
        return param;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setUa(String ua) {
        this.ua = ua;
    }

    public String getUa() {
        return ua;
    }

    public void setStaticVersion(String staticVersion) {
        this.staticVersion = staticVersion;
    }

    public String getStaticVersion() {
        return staticVersion;
    }

    public void setIsVip(Integer isVip) {
        this.isVip = isVip;
    }

    public Integer getIsVip() {
        return isVip;
    }

    public String getClientVersion() {
        return clientVersion;
    }

    public void setClientVersion(String clientVersion) {
        this.clientVersion = clientVersion;
    }

    public String getIpInfo() {
        return ipInfo;
    }

    public void setIpInfo(String ipInfo) {
        this.ipInfo = ipInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("kkid", getKkid()).append("op", getOp()).append("ip", getIp()).append("param", getParam()).append("createdTime", getCreatedTime()).append("ua", getUa()).append("staticVersion", getStaticVersion()).append("isVip", getIsVip()).toString();
    }
}
